package com.pgytesting.secondhandcar.service;

import com.pgytesting.secondhandcar.model.SalesCommissionSettlement;
import com.pgytesting.secondhandcar.vo.ResponseMessage;
import org.springframework.stereotype.Service;

/**
 * @author : frosty0804@gmail.com
 * @version : v1.0
 * @projectName : secondhandcar
 * @className : SalesCommissionSettlementService
 * @description : TODO(销售佣金结算)
 * @date : 2019/8/29 19:36
 */
public interface SalesCommissionSettlementService {

    /**
     * 插入数据
     *
     * @param salesCommissionSettlement
     * @return
     */
    int insert(SalesCommissionSettlement salesCommissionSettlement);

    /**
     * 查询全部数据
     *
     * @return
     */
    ResponseMessage selectAll();

    /**
     * 更新数据
     *
     * @param salesCommissionSettlement
     * @return
     */
    int update(SalesCommissionSettlement salesCommissionSettlement);

}
